home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / fractal / kaos.lha / auxlib / create_aux_menu.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-01-19  |  1.1 KB  |  46 lines

  1. /*
  2. ### create combined space menu ###
  3. */
  4.  
  5. #include <suntool/sunview.h>
  6.  
  7. void create_aux_menu()
  8. {
  9.     void reset_proc(),print_panel_proc(),top_proc(),aux_quit_proc(),quit_proc(),help_proc();
  10.     extern Menu aux_menu,open_menu,orbit_menu,bif_menu,batch_menu;
  11.     extern Pixfont *boldfont;
  12.     
  13.     aux_menu = menu_create(MENU_PULLRIGHT_ITEM,
  14.                 "Open panel/window",
  15.                 open_menu,
  16.             MENU_PULLRIGHT_ITEM,
  17.                 "Compute orbit",
  18.                 orbit_menu,
  19.             MENU_PULLRIGHT_ITEM,
  20.                 "Bifurcation set",
  21.                 bif_menu,
  22.             MENU_ITEM,
  23.                 MENU_STRING, "Return to top box",
  24.                 MENU_NOTIFY_PROC, top_proc, 0,
  25.             MENU_PULLRIGHT_ITEM,
  26.                 "Batch",
  27.                 batch_menu,
  28.             MENU_ITEM,
  29.                 MENU_STRING, "Print",
  30.                 MENU_NOTIFY_PROC, print_panel_proc, 0,
  31.             MENU_ITEM,
  32.                 MENU_STRING, "Reset",
  33.                 MENU_NOTIFY_PROC, reset_proc, 0,
  34.             MENU_ITEM,
  35.                 MENU_STRING, "Help",
  36.                 MENU_NOTIFY_PROC, help_proc, 0,
  37.             MENU_ITEM,
  38.                 MENU_STRING, "Quit auxiliary space",
  39.                 MENU_NOTIFY_PROC, aux_quit_proc, 0,
  40.             MENU_ITEM,
  41.                 MENU_STRING, "Quit kaos",
  42.                 MENU_NOTIFY_PROC, quit_proc, 0,
  43.         0);
  44.     menu_set(aux_menu, MENU_FONT, boldfont,0);
  45. }
  46.